Open
Conversation
This commit updates the backend for JetPack 6 Orin compatibility: Dockerfile changes: - Updated base image to Ubuntu 22.04 (JetPack 6 native) - Changed from Python 3.9 (compiled from source) to Python 3.10 (apt package) - Python 3.10 is the native interpreter for JetPack 6 - Improved Dockerfile structure with better layer caching - Added proper pip requirements installation - Removed legacy libssl1.1 and OS 18.04 specific code - Updated CMD to use generic python3 instead of python3.9 requirements.txt changes: - Added header comments documenting JetPack 6 compatibility - Upgraded Jetson.GPIO from 2.0.21 to 2.1.0 for JetPack 6 - Upgraded awsiotsdk from 1.11.9 to 1.21.0 - Upgraded marshmallow from 3.19.0 to 3.21.0 - Upgraded pyyaml from 5.4.1 to 6.0.1 (Python 3.10 compatible) - Aligned grpcio and grpcio-tools to 1.62.0 - Upgraded jsonschema from 4.17.3 to 4.21.0 - Upgraded numpy from 1.24.3 to 1.26.4 - Upgraded pycairo from 1.23.0 to 1.26.0 - Upgraded PyGObject from 3.42.2 to 3.48.0 - Upgraded psutil from 5.9.5 to 5.9.8 - Upgraded fastapi from 0.109.2 to 0.110.0 - Upgraded uvicorn from 0.23.2 to 0.28.0 - Upgraded pydantic from 2.1.1 to 2.6.0 - Upgraded asgi-correlation-id from 4.2.0 to 4.3.0 - Upgraded structlog from 22.1.0 to 24.1.0 - Upgraded sqlalchemy from 2.0.21 to 2.0.28 - Upgraded alembic from 1.12.1 to 1.13.1 - Upgraded httpx from 0.24.1 to 0.27.0 - Upgraded scikit-learn from 1.0.2 to 1.4.0 (Python 3.10 support) - Added documentation notes for dlr JetPack 6 compatibility JetPack 6 specifications: - Ubuntu 22.04 base OS - Python 3.10 (native) - CUDA 12.6 - TensorRT 10.3 - cuDNN 9.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request was generated by @kiro-agent 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
This PR updates the backend for JetPack 6 Orin compatibility, migrating from Python 3.9 to Python 3.10 (the native interpreter for JetPack 6).
JetPack 6 Specifications
Why Python 3.10 (not 3.11)?
Changes
Dockerfile (
src/backend/Dockerfile)libssl1.1dependency (not available in Ubuntu 22.04)python3instead ofpython3.9requirements.txt (
src/backend/requirements.txt)Important Notes
DLR (Neo Deep Learning Runtime)
dlr==1.10.0is retained but may need custom build for JetPack 6Jetson.GPIO
Testing Recommendations
Build Docker image on JetPack 6 Orin device:
Verify Python version inside container:
docker run --rm dda-backend:jetpack6 python3 --version # Expected: Python 3.10.xTest NVIDIA library compatibility (TensorRT, CUDA) on the Orin device